import req from "@/utils/request.js";
// 扫码连接设备
export const connect = data => {
	return req({
		url: "device/connect",
		method: "POST",
		data
	})
}

// 获取三诺授权链接
export const getLink = data => {
	return req({
		url: "sino/authorization_link",
		method: "get",
		data
	})
}